package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 物品对象 w_order_good
 *
 * @author ruoyi
 * @date 2022-01-07
 */
@Data
@ApiModel(value = "WOrderGood", description = "物品对象 w_order_good")
public class WOrderGood extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    /** 物品id */
    @Excel(name = "物品id")
    @ApiModelProperty(value = "物品id")
    private Long goodsId;

    /** 物品名称 */
    @Excel(name = "物品名称")
    @ApiModelProperty(value = "物品名称")
    private String goodsName;

    /** pn */
    @Excel(name = "pn")
    @ApiModelProperty(value = "pn")
    private String pn;

    /** comment */
    @Excel(name = "comment")
    @ApiModelProperty(value = "comment")
    private String comment;

    /** dimension */
    @Excel(name = "dimension")
    @ApiModelProperty(value = "dimension")
    private String dimension;
    
    @ApiModelProperty(value = "Designator ")
    private String designator ;

    /** footprint */
    @Excel(name = "footprint")
    @ApiModelProperty(value = "footprint")
    private String footprint;

    /** manufacture */
    @Excel(name = "manufacture")
    @ApiModelProperty(value = "manufacture")
    private String manufacture;

    /** quantity */
    @Excel(name = "quantity")
    @ApiModelProperty(value = "quantity")
    private Long quantity;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private Long number;

    public void setId(Long id){
        this.id = id;
    }

    public Long getId(){
        return id;
    }
    public void setOrderId(Long orderId){
        this.orderId = orderId;
    }

    public Long getOrderId(){
        return orderId;
    }
    public void setGoodsId(Long goodsId){
        this.goodsId = goodsId;
    }

    public Long getGoodsId(){
        return goodsId;
    }
    public void setGoodsName(String goodsName){
        this.goodsName = goodsName;
    }

    public String getGoodsName(){
        return goodsName;
    }
    public void setPn(String pn){
        this.pn = pn;
    }

    public String getPn(){
        return pn;
    }
    public void setComment(String comment){
        this.comment = comment;
    }

    public String getComment(){
        return comment;
    }
    public void setDimension(String dimension){
        this.dimension = dimension;
    }

    public String getDimension(){
        return dimension;
    }
    public void setFootprint(String footprint){
        this.footprint = footprint;
    }

    public String getFootprint(){
        return footprint;
    }
    public void setManufacture(String manufacture){
        this.manufacture = manufacture;
    }

    public String getManufacture(){
        return manufacture;
    }
    public void setQuantity(Long quantity){
        this.quantity = quantity;
    }

    public Long getQuantity(){
        return quantity;
    }
    public void setNumber(Long number){
        this.number = number;
    }

    public Long getNumber(){
        return number;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("pn", getPn())
            .append("comment", getComment())
            .append("dimension", getDimension())
            .append("footprint", getFootprint())
            .append("manufacture", getManufacture())
            .append("quantity", getQuantity())
            .append("number", getNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
